<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>My Homework -- 查看成绩</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style type='text/css' media='screen'>
			@import "__TMPL__Public/css/book.css";
		</style>
	</head>
	<body id="threeColLayout" class="home">
		<div id="wrapper">
			<div id="header">
				<h1>My Homework</h1>
				<ul id="mainNav">
					<li>
						<a href="__APP__/Index/adminMain" id="home">我的主页</a>
					</li>
					<li>
						<a href="__APP__/User/userManagement">用户管理</a>
					</li>
					<li>
						<a href="__APP__/Rank/allGradesAdmin?hw_id={$hw_id}">所有成绩</a>
					</li>
					<li>
						<a href="__APP__/Login/logout">退出</a>
					</li>
				</ul>
			</div><!-- end #header -->
			<div id="primaryContent">
				<div class="box interviews">
					<h2>作业信息</h2>
					<div class="cbb">
						<h3>{$hw_head}</h3></br>
						<p>
							{$hw_content}
						</p></br></br>
						<h3>修改时间</h3></br>
						<p>
							{$hw_create_time}
						</p>
						<h3>截止时间</h3></br>
						<p>
							{$hw_deadline}
						</p></br></br>
						<h3>评定学生成绩：</h3>
						<form action="__APP__/Rank/rank" method="post">
							<table border="1">
								<tr>
									<!-- 								<th>组名</th> -->
									<th>小组</th>
									<th>学号</th>
									<th>姓名</th>
									<th>组内排名</th>
									<th>操作</th>
									<th>分数</th>
								</tr>
								<volist name='stuhws' id='vo' key='k'>
									<tr>
										<td>{$groups[$k-1]}</td>
										<td>{$studentsid[$k-1]}</td>
										<td>{$studentsname[$k-1]}</td>
										<td>{$vo['rating']}</td>
										<td><a href="__ROOT__/MyHomework/{$vo['file_location']}"> 下载 </a><a href="__ROOT__/MyHomework/{$vo['link']}"> 应用链接 </a></td>
										<td>
										<input type="hidden" name="studentsid[{$k}]" value="{$vo['stu_id']}">
										<input type="hidden" name="hwids[{$k}]" value="{$vo['hw_id']}" />
										<input type="text" name="grades[{$k}]">
										</td>
									</tr>
								</volist>
							</table>
							</br>
							&nbsp
							<input type="submit">
								提交评分
							</input>
						</form>
					</div>
				</div>
			</div>
			<!-- end #primaryContent -->
			<div id="sideContent">
				<div class="box">
					<h2>个人信息</h2>
					<div class="cbSide">
						<img src="images/may_icon.gif" alt="May" width="38" height="38"/>
						<br/>
						<br/>
						<br/>
						<br/>
						<h2>个人信息</h2>
						<h3>姓名：</h3><h3>{$name}</h3>
						<br/>
						<h3>教工号：</h3><h3>{$id}</h3>
						<br/>
						<br/>
					</div>
				</div>
			</div>
			<!-- end #sideContent -->
			<div id="footer"></div>
			<!-- end #footer -->
		</div><!-- end #wrapper -->
	</body>
</html>